<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 上午作业 1 判断一个数据是否在某一个取值范围内 [10,20]
        var num = 22;
        if(20 <= num && num <= 10 ){
            console.log("在取值范围内");
        }
    </script>
</body>
</html>